package com.panshi.modules.system.service.impl;

import com.panshi.modules.system.bean.SysRoleFunction;
import com.panshi.modules.system.mapper.SysRoleFunctionMapper;
import com.panshi.modules.system.service.SysRoleFunctionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 小伍
 * @since 2020-08-07
 */
@Service
public class SysRoleFunctionServiceImpl  implements SysRoleFunctionService {

    @Autowired
    private SysRoleFunctionMapper sysRoleFunctionMapper;
    @Override
    public void deleteRoleFun(Integer rid) {
        sysRoleFunctionMapper.deleteRoleFun(rid);
    }

    @Override
    public void deleteRoleFunbyfid(Integer fid) {
        sysRoleFunctionMapper.deleteRoleFunbyfid(fid);
    }
}
